import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/disProfitParam/list',
    method: 'get',
    params: query
  })
}

export function createParam(data) {
  return request({
    url: '/disProfitParam/create',
    method: 'post',
    data
  })
}

export function updateParam(data) {
  return request({
    url: '/disProfitParam/update',
    method: 'put',
    data
  })
}
export function deleteParam(data) {
  return request({
    url: '/disProfitParam/delete',
    method: 'delete',
    data
  })
}
